home *** CD-ROM | disk | FTP | other *** search
- /*
- File: CustomWindow.h
-
- Description: This is the header file for the CustomWindow class, which is our subclass of NSWindow. We need to subclass
- NSWindow in order to configure the window properly in -initWithContentRect:styleMask:backing:defer:
- to have a custom shape and be transparent.
-
- Author: MCF
-
- Copyright: © Copyright 2001 Apple Computer, Inc. All rights reserved.
-
- Change History (most recent first):
-
- 03/2001 - MCF - initial version
-
- */
-
-
- #import <Cocoa/Cocoa.h>
-
- @interface CustomWindow : NSWindow
- {
- //This point is used in dragging to mark the initial click location
- NSPoint initialLocation;
- }
- - (void)mouseDragged:(NSEvent *)theEvent;
- - (void)mouseDown:(NSEvent *)theEvent;
- @end
-